The SimpleAssociationDestination interface allows applets that implement it to be the destinations of SimpleAssociations. By implementing these methods, plus the KeyValueCoding methods, the applet takes on the responsibilities of the Association object. The SimpleAssociation class simply passes calls to <b>valueForKey(</b>String<b>)</b>, <b>takeValueForKey(</b>Object, String<b>)</b>, and <b>keys()</b> along to its destination. Associations are required for the exchange of state and action information with the AppletGroupController, which handles communication with the server.
<dd> Implemented by applets so that they can store the Association object <i>assoc</i> (an instance of SimpleAssociation) so that later, when an action is triggered in the applet, they can send <b>invokeAction(</b>String<b>)</b> to that object.
public abstract void setAssociation(<a href="next.wo.client.Association.html#_top_">Association</a> assoc)
</pre>
<dl>
<dd> Implemented by applets so that they can store the Association object <i>assoc</i> (an instance of SimpleAssociation) so that later, when an action is triggered in the applet, they can send <b>invokeAction(</b>String<b>)</b> to that object. This results in the invocation of the associated action method in the server.
Note that even applets that do not have actions must implement this method, even if as a "null" method.